﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="admin_tour_scenic_Edit" %>

<style type="text/css">
    .ke-dialog-content .tabs { display:none; }
</style>

<div class="frombox datagrid-body" style="padding-bottom:5px;">
    <form id="scenic-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">景点名称</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Name" class="easyui-textbox" data-options="required:true" style="width:260px;" value="<%= model.Name %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">封面图片</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <%= ToolButton("icon-images","上传","Scenic.AddImg")
                        + ToolButton("icon-eye","查看","Scenic.ShowImg")
                        + ToolButton("icon-busy","清除","Scenic.DeleteImg") %>
                        <input id="scenic-img" name="Img" type="hidden" value="<%= model.Img %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">语音导航</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <%= ToolButton("icon-music","上传","Scenic.AddVoice") %>
                        <span id="scenic-player" style="display:inline-block; vertical-align:middle;"></span>
                        <input id="scenic-voice" name="Voice" type="hidden" value="<%= model.Voice %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">虚拟旅游</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <%= ToolButton("icon-images_night_scene","上传","Scenic.AddVirtual")
                        + ToolButton("icon-eye","查看","Scenic.ShowVirtual")
                        + ToolButton("icon-busy","清除","Scenic.DeleteVirtual") %>
                        <input id="scenic-virtual" name="Virtual" type="hidden" value="<%= model.Virtual %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="text" colspan="4">
                    <div class="datagrid-cell">
                        <textarea id="scenic-content" name="Content"><%= model.Content %></textarea>
                    </div>
                </td>
            </tr>
        </table>
        <input name="ID" type="hidden" value="<%= model.ID %>" />
        <input name="Top" type="hidden" value="<%= model.Top %>" />
        <input name="InsertTime" type="hidden" value="<%= model.InsertTime %>" />
        <input name="UpdateTime" type="hidden" value="<%= model.UpdateTime %>" />
    </form>
</div>
